package com.tianyang.yukuaifuzs.business.main.contract;

import com.tianyang.yukuaifuzs.base.IBaseExtraView;
import com.tianyang.yukuaifuzs.base.IBasePresenter;
import com.tianyang.yukuaifuzs.business.main.bean.ChannelOutput;
import com.tianyang.yukuaifuzs.business.main.bean.PosRateOutput;

import java.util.List;

/**
 * Description：费率配置
 * Created by xyj on 2024/3/10
 */
public interface RateConfigContract {

    interface View extends IBaseExtraView<Presenter> {

        void showPosTemplateRateView(List<PosRateOutput> outputs);

        void showChannelView(List<ChannelOutput> outputs);
    }

    interface Presenter extends IBasePresenter {

        void getPosTemplateRate(String posChannel);

        void addPosUserRate(List<PosRateOutput> outputs, String posChannel);

        void getChannelList();
    }
}
